package com.googlecode.imule.apps;

import java.net.SocketException;
import java.util.Random;

import com.apple.dnssd.DNSSDException;
import com.googlecode.imule.redundant.DiscoveryService;

/**
 * Simple test class to check if the status update functionality 
 * is working correctly. Result will decide if further extensions are 
 * feasible e.g. images...
 * 
 * @author Neil Cowzer
 */
public class StatusUpdateTest {
	static Random generator;
	
	public static void main(String[] args) {
		if (generator == null)
			generator = new Random();
		
		try {
			DiscoveryService service = new DiscoveryService("test"+generator.nextInt());
		} catch (SocketException e){
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (DNSSDException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		//System.exit(0);
	}
}
